package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class AccomodationType implements Serializable {

    /** identifier field */
    private Integer accomodationTypeId;

    /** nullable persistent field */
    private String accomodationDesc;

    /** persistent field */
    private Set conventionRegistrants;

    /** full constructor */
    public AccomodationType(Integer accomodationTypeId, String accomodationDesc, Set conventionRegistrants) {
        this.accomodationTypeId = accomodationTypeId;
        this.accomodationDesc = accomodationDesc;
        this.conventionRegistrants = conventionRegistrants;
    }

    /** default constructor */
    public AccomodationType() {
    }

    /** minimal constructor */
    public AccomodationType(Integer accomodationTypeId, Set conventionRegistrants) {
        this.accomodationTypeId = accomodationTypeId;
        this.conventionRegistrants = conventionRegistrants;
    }

    public Integer getAccomodationTypeId() {
        return this.accomodationTypeId;
    }

    public void setAccomodationTypeId(Integer accomodationTypeId) {
        this.accomodationTypeId = accomodationTypeId;
    }

    public String getAccomodationDesc() {
        return this.accomodationDesc;
    }

    public void setAccomodationDesc(String accomodationDesc) {
        this.accomodationDesc = accomodationDesc;
    }

    public Set getConventionRegistrants() {
        return this.conventionRegistrants;
    }

    public void setConventionRegistrants(Set conventionRegistrants) {
        this.conventionRegistrants = conventionRegistrants;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("accomodationTypeId", getAccomodationTypeId())
            .toString();
    }

}
